#include <cstdio>
#include <cstring>
#include <iostream>
#include <unistd.h>

int main()
{
    printf("printf\n");
    fprintf(stdout,"fprintf\n");
    const char *f = "fwrite\n";
    fwrite(f,1,strlen(f),stdout);

    const char *s = "write\n";
    write(1,s,strlen(s));

    //close(1);
    fork();

    return 0;
}
